package com.mycompany.rest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mycompany.optimizaproject.Estado;
import com.mycompany.services.dao.EstadoDAO;

@Controller
@RequestMapping("/estado")
public class EstadoRestController extends AbstractRestController<Estado, Integer> {

	@Autowired
	private EstadoDAO estadoDAO;

	public void init() {
		setDao(estadoDAO);
	}

}
